<?php
namespace App\Http\Controllers\Auth;

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;

class UserController
{
    /**
     * UserController constructor.
     */
    public function __construct()
    {

    }

    /**
     * @name 用户信息
     * @notes []
     *
     * @param Request $request
     */
    public function myself(Request $request)
    {
        $user = $request->user();
        dd($user->name);
    }
}
